﻿using UnityEngine;

namespace GameToolkit
{
    /// <summary>
    /// 覆盖材质组，同一组下的所有 Renderer 的相同材质可复用
    /// </summary>
    [DisallowMultipleComponent]
    public class MaterialGroup : MonoBehaviour
    {
        public virtual int GroupID { get { return GetInstanceID(); } }
    }
}
